package com.example.autumn.controller.portal;

import com.example.common.response.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 登录验证相关的接口
 * @author Liaorun
 */
@Api(value = "登录验证相关的接口")
@RestController
@RequestMapping("/check")
public class CheckController {

    @ApiOperation(value = "获取图灵验证码")
    @GetMapping("/captcha")
    public R getCaptchaCode() {
        return null;
    }

    @ApiOperation(value = "检查电话号码是否使用过")
    @GetMapping("/phone")
    public R checkPhoneNum() {
        return null;
    }

    @ApiOperation(value = "获取手机验证码")
    @GetMapping("/verify")
    public R getPhoneVerifyCode() {
        return null;
    }

    @ApiOperation(value = "检查邮箱是否使用过")
    @GetMapping("/email")
    public R checkEmail() {
        return null;
    }
}
